@layout("/common/_form.html",{js:["/assets/manager/flowConfig/flowConfig.js"],plugins:["ue"]}){

<form class="layui-form" id="flowConfigForm" lay-filter="flowConfigForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="configId" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">评论标签</label>
                        <div class="layui-input-block" class="tags" id="tags">
                            <input id="commentTags" name="commentTags" placeholder="回车生成标签" type="text" class="layui-input" autocomplete="off" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">公司电话<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="companyPhone" name="companyPhone" placeholder="请输入公司电话" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">服务时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="serviceTime" name="serviceTime" placeholder="时间段" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">平台名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="platform" name="platform" placeholder="请输入平台名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">平台名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="qcodeSlogan" name="qcodeSlogan" placeholder="请输入平台广告语" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">平台logo</label>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn" id="platformCoverBtn">上传图片</button>
                            <input type="hidden" id="platformCover" name="platformCover" />
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" style="width: 120px;" id="filePreview">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">成交订单<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="orderCount" name="orderCount" placeholder="成交订单" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">帮助人数<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="helpCount" name="helpCount" placeholder="请输入帮助人数" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否开启手机注册</label>
                        <div class="layui-input-block">
                            <select id="isOpenPhoneLogin" name="isOpenPhoneLogin">
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-card-header">优惠界面配置</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">头部图片</label>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn" id="couponTopBtn">上传图片</button>
                            <input type="hidden" id="couponTop" name="couponTop" />
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" style="width: 120px;" id="filePreview1">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">底部图片</label>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn" id="couponBottomBtn">上传图片</button>
                            <input type="hidden" id="couponBottom" name="couponBottom" />
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" style="width: 120px;" id="filePreview2">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">背景颜色</label>
                        <div class="layui-input-block">
                            <div class="layui-inline">
                                <input type="text" class="layui-input" id="couponBgColor" name="couponBgColor"/>
                            </div>
                            <div id="couponBgColorPicker"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-card-header">会员注册协议配置</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">协议名称</label>
                        <div class="layui-input-block">
                            <input id="userAgreement" name="userAgreement" placeholder="请输入协议名称" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">协议内容</label>
                        <div class="layui-input-block">
                            <script id="agreementDetail" name="agreementDetail" type="text/plain"></script>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}